import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '@/assets/css/reset.less'
import '@/assets/css/global.less'
import moment from 'moment'
import 'moment/locale/zh-cn'
import * as echarts from 'echarts'
import scroll from 'vue-seamless-scroll'

Vue.prototype.$echarts = echarts
Vue.config.productionTip = false
moment.locale('zh-cn')
Vue.prototype.$moment = moment// 可以全局使用dayjs
Vue.use(ElementUI)
Vue.use(scroll)
Vue.prototype.$echarts = echarts

new Vue({
  router,
  render: (h) => h(App)
}).$mount('#app')
